package com.myprocessing.action;

import java.util.List;

public class ActionList extends Action {

	protected List<Action> actionList;
	
	@Override
	public void init() {
		super.init();
		for(Action action: actionList){
			action.init();
		}
	}

	public void execute() {
		for(Action action: actionList){
			action.execute();
		}
	}

	public List<Action> getActionList() {
		return actionList;
	}

	public void setActionList(List<Action> actionList) {
		this.actionList = actionList;
	}
}
